package com.sptpc.springbootmybatis.dao;

import com.sptpc.springbootmybatis.model.Fication;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface FicationMapper {
    int insert(Fication record);

    int insertSelective(Fication record);

    List<Fication> selectAll();

    Fication selectByPrimaryKey(Long id);

    Fication selectByName();

    int updateByPrimaryKeySelective(Fication fication);

    List<Fication> selectByDateRange(@Param("start") Date startDate, @Param("end") Date endDate);

    int deleteByPrimaryKey(Long id);
}